package com.example.demo.demos.web.Annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 校验传参
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidateDto {

    /**
     * 传入后端接受参数的dto
     * @return
     */
    Class<?> clazz() default Void.class;
}
